<?xml version="1.0" encoding= "UTF-8"?>
<html xmlns="http://www.w3.org/1999/xhtml"
	xmlns:h="http://java.sun.com/jsf/html"
	xmlns:ui="http://java.sun.com/jsf/facelets"
	xmlns:f="http://java.sun.com/jsf/core"
	xmlns:p="http://primefaces.org/ui"
	xmlns:fn="http://java.sun.com/jsp/jstl/functions">

<h:form style="width:100%">
	<p:commandLink id="newForum" action="#{forumBean.newForum}"
		style="margin-left:20px">
		<h:outputText value="Create forum" />
	</p:commandLink>
	<pre></pre>
	<p:dataScroller value="#{profileBean.currentUser.forums}" var="forum">




		<h:link value=" #{forum.forumTitle} " outcome="/forum/info">

			<f:param name="id" value="#{forum.forumId}" />

		</h:link>

		<p:separator style="width:100%;height:1px" />


	</p:dataScroller>
</h:form>
</html>